home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / lob.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  108 lines

  1. // defines LOB
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_LOB_GSH
  8. #define INCLUDED_LOB_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11. #include "defaults.gsh"
  12. #include "lasers.gsh"
  13. #include "lobfrag.gsh"
  14. hierarchy Hcy_Lob
  15. {
  16.     file "units\LOWlob.RIF"
  17.     name "lowlob"
  18.     hotspot "dumflash"
  19. }
  20.  
  21. hierarchy Hcy_HighPoly_Lob
  22. {
  23.     file "units\Lob.RIF"
  24.     name "lob"
  25.     hotspot "dumflash"
  26. }
  27.  
  28. hierarchy Hcy_Lob_Shadow
  29. {
  30.     file "units\lob_shadow.RIF"
  31.     name "lob_shadow"
  32. }
  33.  
  34. character Chr_Lob : Chr_DefaultBaddie
  35. {
  36.     turning speed   0.8    // this is in revolutions per second
  37.     walking speed   1.0    // this is in animation cycles per second
  38.     weapon            grenade launcher
  39.     strength        30    // initial strength points
  40.     aim             2    // how many degrees off target he can be at most
  41.     sight angle    25    // in degrees
  42.     sight range     15    // in metres
  43.     hearing range    12    // in metres
  44.     aggression    0.9    // from 0 to 1
  45.     gun yaw angle    0    // in degrees
  46.     //description        claw description
  47.     shadow hierarchy    Hcy_Lob_Shadow
  48. }
  49.  
  50. character Chr_Lob_large : Chr_DefaultBaddie
  51. {
  52.     turning speed   0.8    // this is in revolutions per second
  53.     walking speed   1.0    // this is in animation cycles per second
  54.     weapon            grenade launcher
  55.     strength        50    // initial strength points
  56.     aim             2    // how many degrees off target he can be at most
  57.     sight angle    25    // in degrees
  58.     sight range     15    // in metres
  59.     hearing range    12    // in metres
  60.     aggression    0.9    // from 0 to 1
  61.     gun yaw angle    0    // in degrees
  62.     //description        claw description
  63.     size        1.35
  64.     shadow hierarchy    Hcy_Lob_Shadow
  65. }
  66.  
  67. role Rol_Lob : Rol_DefaultRobot
  68. {
  69.     //shape                Hcy_Lob
  70.  
  71.     shape        Hcy_HighPoly_Lob
  72.  
  73.     character            Chr_Lob
  74.  
  75.     destructibility Frg_lob
  76.  
  77.     identifier            "lob"
  78.  
  79.     recon name        lob recon
  80.  
  81.     armour    2
  82.  
  83.     ai                    bot
  84. }
  85.  
  86. role Rol_Lob_large : Rol_DefaultRobot
  87. {
  88.     //shape                Hcy_Lob
  89.  
  90.     shape        Hcy_HighPoly_Lob
  91.  
  92.     character            Chr_Lob_large
  93.  
  94.     destructibility Frg_lob
  95.  
  96.     identifier            "lob_large"
  97.  
  98.     recon name            lob recon
  99.  
  100.     armour    5
  101.  
  102.     ai                    bot
  103. }
  104.  
  105. ////////////////////////////////////////////////////////////////////////////////////
  106.  
  107. // end wrapper - for preventing multiple or recursive inclusions
  108. #endif // !INCLUDED_LOB_GSH